package com.vehicle.domains.vo.req.sysUser;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "用户添加角色参数")
public class AddUserRolesReq {

    @NotNull(message = "用户ID不能为空")
    @Schema(name = "userId", description = "用户ID")
    private Long userId;

    @NotNull(message = "角色ID列表不能为空")
    @Schema(name = "roleIds", description = "角色ID")
    private List<Long> roleIds;
}
